// AssessmentDetailMapper.java
package com.projects.modular.realty.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.projects.modular.realty.entity.AssessmentDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 诊断详情 Mapper 接口
 *
 * @author 曾大顺
 * @since 2025-02-11
 */
@Mapper
public interface AssessmentDetailMapper extends BaseMapper<AssessmentDetail> {

    /**
     * 根据诊断ID查询所有评估详情
     *
     * @param diagnosisId 诊断ID
     * @return 评估详情列表
     */
    List<AssessmentDetail> selectByDiagnosisId(@Param("diagnosisId") String diagnosisId);
}
